<template>
  <section class="container">
    <h3>应用类型</h3>
    <el-input v-model="innerValue.value"></el-input>
  </section>
</template>

<script>
export default {
  name: 'QuoteModel',
  data() {
    return {
      innerValue: { value: '' },
    }
  },
  props: {
    value: Object,
  },
  components: {},
  watch: {
    value: {
      handler(val) {
        console.log('Quote-外部改内部')
        this.innerValue = val
      },
      deep: true,
    },
    innerValue: {
      handler(val) {
        console.log('Quote-内部改外部')
        this.$emit('input', val)
      },
      deep: true,
    },
  },
  computed: {},
  methods: {},
  created() {},
  mounted() {},
}
</script>

<style scoped lang="scss">
.container {
  width: 300px;
  height: 300px;
  background: #ccc;
  margin: auto;
}
</style>
